package com.pingan.mobilegw.adapterservice;

import com.pingan.mobilegw.adapterservice.model.ToString;

import java.util.List;
import java.util.Map;

/**
 * 发布的RPC服务信息
 * 
 * @author jiadao
 * @version $Id: MobileServiceInfo.java, v 0.1 2013-4-9 下午5:00:23 jiadao Exp $
 */
public class MobileServiceInfo extends ToString {

    /** serialVersionUID */
    private static final long   serialVersionUID = 8208332932253881128L;

    /** 接口名 */
    private String              interfaceType;

    /** 方法名 */
    private String              methodName;

    /** 参数列表 */
    private List<String>        paramType;

    /** 服务注解信息 */
    private Map<String, String> annotations;

    /**
     * Getter method for property <tt>interfaceType</tt>.
     * 
     * @return property value of interfaceType
     */
    public String getInterfaceType() {
        return interfaceType;
    }

    /**
     * Setter method for property <tt>interfaceType</tt>.
     * 
     * @param interfaceType value to be assigned to property interfaceType
     */
    public void setInterfaceType(String interfaceType) {
        this.interfaceType = interfaceType;
    }

    /**
     * Getter method for property <tt>methodName</tt>.
     * 
     * @return property value of methodName
     */
    public String getMethodName() {
        return methodName;
    }

    /**
     * Setter method for property <tt>methodName</tt>.
     * 
     * @param methodName value to be assigned to property methodName
     */
    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    /**
     * Getter method for property <tt>paramType</tt>.
     * 
     * @return property value of paramType
     */
    public List<String> getParamType() {
        return paramType;
    }

    /**
     * Setter method for property <tt>paramType</tt>.
     * 
     * @param paramType value to be assigned to property paramType
     */
    public void setParamType(List<String> paramType) {
        this.paramType = paramType;
    }

    /**
     * Getter method for property <tt>annotations</tt>.
     * 
     * @return property value of annotations
     */
    public Map<String, String> getAnnotations() {
        return annotations;
    }

    /**
     * Setter method for property <tt>annotations</tt>.
     * 
     * @param annotations value to be assigned to property annotations
     */
    public void setAnnotations(Map<String, String> annotations) {
        this.annotations = annotations;
    }

}
